﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Roborally.CommonData.Enums;

namespace Roborally.CommonData.GlobaleTypes
{
    public struct NieuwSpelGegevens : INieuwSpelGegevens
    {
        private Dictionary<int, string> dicIDSpeler;

        /// <summary>
        /// dictionary met koppeling van id's en string's
        /// </summary>
        public Dictionary<int, string> SpelerIDEnNaam
        {
            get
            {
                if (dicIDSpeler == null)
                {
                    dicIDSpeler = new Dictionary<int, string>();
                }
                return dicIDSpeler;
            }
        }

        private Dictionary<int, RobotType> dicIDRobotType;

        /// <summary>
        /// dictionary met koppeling van id's en RobotType's
        /// </summary>
        public Dictionary<int, RobotType> DicIDRobotType
        {
            get
            {
                if (dicIDRobotType == null)
                {
                    dicIDRobotType = new Dictionary<int, RobotType>();
                }
                return dicIDRobotType;
            }
        }

        private int[] apiray;
        public int[] APIray
        {
            get
            {
                return apiray;
            }
            set
            {
                apiray = value;
            }
        }

    }
}
